package com.qf.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

import java.util.Date;

/**
*
* @TableName user
*/
@Data
public class User implements Serializable {

    /**
    * 用户ID
    */

    private Long id;
    /**
    * 用户名
    */
    private String username;
    /**
    * 密码
    */
    private String password;
    /**
    * 邮箱
    */
    private String email;
    /**
    * 手机号
    */
    @ExcelProperty(value = "手机号", index = 4)
    private String phone;
    /**
    * 账号状态 1正常 0禁用
    */
    private Integer status;
    /**
    * 积分
    */
    @ExcelProperty(value = "积分", index = 3)
    private Integer points;
    /**
    * 会员等级
    */
    private Integer level;
    /**
    *
    */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdAt;
    /**
    * 暂定列
    */
    private String isDeleted;
    /**
    * 用户头像
    */
    private String avatar;
    /**
    * 暂定列
    */
    private String attr3;
    /**
    * 暂定列
    */
    private String attr4;



}
